package com.day0425zuoye.Season;/*
 * @创建者：黄苟苟
 * @创建时间：2021/4/25   18:33
 * @Description描述
 **/

public class Enum {
    public static void printName(Season01 season01){
        switch (season01){
            case Spring:
                System.out.println("春天放风筝");
                break;
            case Summer:
                System.out.println("夏天游泳");
                break;
            case Autumn:
                System.out.println("秋天郊游");
                break;
            case Winter:
                System.out.println("冬天打雪仗");
                break;
        }
    }

    public static void main(String[] args) {
        printName(Season01.Spring);
        printName(Season01.Summer);
        printName(Season01.Autumn);
        printName(Season01.Winter);

    }
}
